<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
	String pageNum = (String)request.getAttribute("pageNum");
	String alertMsg = (String)request.getAttribute("alertMsg");
	
	if(pageNum == null || "".equals(pageNum)){
		pageNum = "1";
	}
	
	if(alertMsg == null){
		alertMsg = "";
	}
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=basePath %>style/main.css" rel="stylesheet" type="text/css">
<title>乐共享</title>
<script type="text/javascript">
	path = "<%=path%>";
	
	alertMsg = "<%=alertMsg %>";
	function check(){
		if(alertMsg != ""){
			alert(alertMsg);
		}
	}
</script>
<script src="<%=basePath %>js/jquery-1.3.2.min.js"></script>
<SCRIPT type=text/javascript src="<%=basePath %>js/pagenav.min.js"></SCRIPT>
<script type="text/javascript" src="<%=basePath%>js/md5.js"></script>
</head>
<body id="Nav1" onload="check();">
<div id="Box">
<jsp:include page="/basic/head.ftl">
	<jsp:param value="3" name="nav"/>
</jsp:include>
<jsp:include page="/group/group.ftl">
	<jsp:param value="<%=pageNum %>" name="page"/>
</jsp:include>
<jsp:include page="/basic/foot.ftl"></jsp:include>
</div>
</body>
</html>